package week2;

public class ArrayStudy {
    public static void main(String[] args) {
        double[] age = new double[10];
//        double [] age={18,19,21,17,16,20,16,15};
        double ArrayStudy = 0;
        for (int i = 1; i < age.length; i++) {
            double sum = 0;
            sum += age[i];
            ArrayStudy = sum / args.length;
        }
        System.out.println("week2.ArrayStudy = " + ArrayStudy);

    }
}

